/*
 * @Author: Ln
 * @Date: 2021-04-25 23:02:48
 * @LastEditors: Ln
 * @LastEditTime: 2021-04-25 23:39:33
 * @Description: 路由文件
 */

import {
  createRouter,
  createWebHashHistory
} from 'vue-router';

import index from './views/index.vue'
import about from './views/about.vue'


export default createRouter({
  base: "/",
  history: createWebHashHistory(),
  routes: [{
    path: '/',
    //redirect: "Index222",  目测是定义url地址,非真实文件地址
    component: index
  }, {
    path: '/about',
    component: about
  }]
})